home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.4 Applications 1997 August / SGI IRIX 6.4 Applications 1997 August.iso / dist / print.idb / usr / share / catman / a_man / cat1 / lpsched.z / lpsched
Encoding:
Text File  |  1997-07-30  |  3.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. LLLLPPPPSSSSCCCCHHHHEEEEDDDD((((1111MMMM))))                     PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss                     LLLLPPPPSSSSCCCCHHHHEEEEDDDD((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      lpsched, lpshut, lpmove - start/stop the LP scheduler and move requests
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////lllliiiibbbb////llllppppsssscccchhhheeeedddd [[[[----nnnnooooffffoooorrrrkkkk]]]] [[[[----ddddeeeebbbbuuuugggg]]]] [[[[----nnnnoooobbbbssssdddd]]]]
  13.      ////uuuussssrrrr////lllliiiibbbb////llllppppsssshhhhuuuutttt
  14.      ////uuuussssrrrr////lllliiiibbbb////llllppppmmmmoooovvvveeee requests dest
  15.      ////uuuussssrrrr////lllliiiibbbb////llllppppmmmmoooovvvveeee dest1 dest2
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      _l_p_s_c_h_e_d schedules requests taken by _l_p(1) for printing on line printers
  19.      (LP's). _l_p_s_c_h_e_d is normally invoked at boot time from the /_e_t_c/_i_n_i_t._d/_l_p
  20.      file. _c_h_k_c_o_n_f_i_g (_1_M) can be used to enable or disable lpsched from
  21.      starting ("chkconfig lp off" or "chkconfig lp on").
  22.  
  23.      _l_p_s_c_h_e_d will normally fork to free the calling process.  The ----nnnnooooffffoooorrrrkkkk
  24.      option can be used to prevent _l_p_s_c_h_e_d from forking.  Do NOT use ----nnnnooooffffoooorrrrkkkk
  25.      in the /etc/init.d/lp file (the intended use is for debugging when
  26.      running _l_p_s_c_h_e_d from a shell). ----ddddeeeebbbbuuuugggg can also be used to display verbose
  27.      debug messages.
  28.  
  29.      _l_p_s_c_h_e_d normally binds a socket for the BSD spooler's well known port and
  30.      will accept print requests from remote BSD spoolers via the socket
  31.      connection.  If _l_p_d(_1_M) is also running the bind call to the socket will
  32.      fail and _l_p_s_c_h_e_d will ignore BSD print requests.  (If _l_p_d is started
  33.      after _l_p_s_c_h_e_d then _l_p_d signals _l_p_s_c_h_e_d to drop the socket connection so
  34.      _l_p_d can acquire it.)  If the ----nnnnoooobbbbssssdddd flag is specified on the command line
  35.      then _l_p_s_c_h_e_d will ignore the BSD spooler's well known port.
  36.  
  37.      _L_p_s_h_u_t shuts down the line printer scheduler.  All printers that are
  38.      printing at the time _l_p_s_h_u_t is invoked will stop printing.  Requests that
  39.      were printing at the time a printer was shut down will be reprinted in
  40.      their entirety after _l_p_s_c_h_e_d is started again.
  41.  
  42.      _L_p_m_o_v_e moves requests that were queued by _l_p(1) between LP destinations.
  43.  
  44.      The first form of the command moves the named _r_e_q_u_e_s_t_s to the LP
  45.      destination, _d_e_s_t.  _R_e_q_u_e_s_t_s are request ids as returned by _l_p(1).  The
  46.      second form moves all requests for destination _d_e_s_t_1 to destination
  47.      _d_e_s_t_2.  As a side effect, _l_p (_1) will reject requests for _d_e_s_t_1.
  48.  
  49.      Note that _l_p_m_o_v_e never checks the acceptance status (see _a_c_c_e_p_t(1M)) for
  50.      the new destination when moving requests.
  51.  
  52. FFFFIIIILLLLEEEESSSS
  53.      /usr/spool/lp/*
  54.  
  55. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  56.      enable(1), lp(1), lpstat(1), accept(1M), lpadmin(1M)
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.